package com.wangtao.firstapp.modles;

import java.util.List;

/**
 * Created by lanouhn on 16/9/7.
 */
public class OriginalAuthorPublish {

    /**
     * status : 1
     * msg : 成功
     * ts : 1473213943
     * data : {"topic":[{"id":"10803","type":"2","type_id":"1","title":"死宅的家用美容仪使用报告","subtitle":"","pic":"http://pic1.bantangapp.com/topic/201609/05/56521014_2466368_1.jpg!300x300","is_show_like":true,"is_recommend":true,"create_time_str":"09月05日","views":"20643","pics":[{"url":"http://pic1.bantangapp.com/topic/201609/05/10097525_2466368_0.jpg!300x300"},{"url":"http://pic1.bantangapp.com/topic/201609/05/51505451_2466368_0.jpg!300x300"},{"url":"http://pic1.bantangapp.com/topic/201609/05/51101531_2466368_0.jpg!300x300"}]},{"id":"10802","type":"2","type_id":"1","title":"如果时光倒流，这些东西我一定不会买","subtitle":"","pic":"","is_show_like":true,"is_recommend":false,"create_time_str":"09月04日","views":"874","pics":[{"url":"http://pic1.bantangapp.com/topic/201609/04/54995710_2466368_0.jpg!300x300"},{"url":"http://pic1.bantangapp.com/topic/201609/04/55989810_2466368_0.jpg!300x300"},{"url":"http://pic1.bantangapp.com/topic/201609/04/56551024_2466368_0.jpg!300x300"}]},{"id":"9754","type":"2","type_id":"1","title":"好用不贵的14支韩系口红","subtitle":"","pic":"http://pic1.bantangapp.com/topic/201608/24/99535255_2466368_1.jpg!300x300","is_show_like":true,"is_recommend":true,"create_time_str":"08月22日","views":"91217","pics":[{"url":"http://pic1.bantangapp.com/topic/201608/22/97564952_2466368_0.jpg!300x300"},{"url":"http://pic1.bantangapp.com/topic/201608/22/99495010_2466368_0.jpg!300x300"},{"url":"http://pic1.bantangapp.com/topic/201608/22/10099571_2466368_0.jpg!300x300"}]},{"id":"9183","type":"2","type_id":"1","title":"带上这些，让你的旅行幸福感满满","subtitle":"","pic":"http://pic1.bantangapp.com/topic/201608/19/55489853_2466368_1.jpg!300x300","is_show_like":true,"is_recommend":true,"create_time_str":"08月15日","views":"59945","pics":[{"url":"http://pic1.bantangapp.com/topic/201608/15/50100499_2466368_0.jpg!300x300"},{"url":"http://pic1.bantangapp.com/topic/201608/15/50565555_2466368_0.jpg!300x300"},{"url":"http://pic1.bantangapp.com/topic/201608/15/50100499_2466368_0.jpg!300x300"}]},{"id":"8605","type":"2","type_id":"1","title":"日常最爱的五只口红","subtitle":"","pic":"","is_show_like":true,"is_recommend":false,"create_time_str":"08月09日","views":"2402","pics":[{"url":"http://pic1.bantangapp.com/topic/201608/09/53515156_2466368_0.jpg!300x300"},{"url":"http://pic1.bantangapp.com/topic/201608/09/53515156_2466368_0.jpg!300x300"},{"url":"http://pic1.bantangapp.com/topic/201608/09/53554898_2466368_0.jpg!300x300"}]}],"post":[{"id":"141541","mini_pic_url":"http://pic1.bantangapp.com/post/201608/12/102535354303_2466368_1.jpg!w200","post_type":""},{"id":"141540","mini_pic_url":"http://pic1.bantangapp.com/post/201608/12/485597985638_2466368_1.jpg!w200","post_type":""}]}
     */

    private String status;
    private String msg;
    private int ts;
    private DataBean data;

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getTs() {
        return ts;
    }

    public void setTs(int ts) {
        this.ts = ts;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 10803
         * type : 2
         * type_id : 1
         * title : 死宅的家用美容仪使用报告
         * subtitle :
         * pic : http://pic1.bantangapp.com/topic/201609/05/56521014_2466368_1.jpg!300x300
         * is_show_like : true
         * is_recommend : true
         * create_time_str : 09月05日
         * views : 20643
         * pics : [{"url":"http://pic1.bantangapp.com/topic/201609/05/10097525_2466368_0.jpg!300x300"},{"url":"http://pic1.bantangapp.com/topic/201609/05/51505451_2466368_0.jpg!300x300"},{"url":"http://pic1.bantangapp.com/topic/201609/05/51101531_2466368_0.jpg!300x300"}]
         */

        private List<TopicBean> topic;
        /**
         * id : 141541
         * mini_pic_url : http://pic1.bantangapp.com/post/201608/12/102535354303_2466368_1.jpg!w200
         * post_type :
         */

        private List<PostBean> post;

        public List<TopicBean> getTopic() {
            return topic;
        }

        public void setTopic(List<TopicBean> topic) {
            this.topic = topic;
        }

        public List<PostBean> getPost() {
            return post;
        }

        public void setPost(List<PostBean> post) {
            this.post = post;
        }

        public static class TopicBean {
            private String id;
            private String type;
            private String type_id;
            private String title;
            private String subtitle;
            private String pic;
            private boolean is_show_like;
            private boolean is_recommend;
            private String create_time_str;
            private String views;
            /**
             * url : http://pic1.bantangapp.com/topic/201609/05/10097525_2466368_0.jpg!300x300
             */

            private List<PicsBean> pics;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getType_id() {
                return type_id;
            }

            public void setType_id(String type_id) {
                this.type_id = type_id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getSubtitle() {
                return subtitle;
            }

            public void setSubtitle(String subtitle) {
                this.subtitle = subtitle;
            }

            public String getPic() {
                return pic;
            }

            public void setPic(String pic) {
                this.pic = pic;
            }

            public boolean isIs_show_like() {
                return is_show_like;
            }

            public void setIs_show_like(boolean is_show_like) {
                this.is_show_like = is_show_like;
            }

            public boolean isIs_recommend() {
                return is_recommend;
            }

            public void setIs_recommend(boolean is_recommend) {
                this.is_recommend = is_recommend;
            }

            public String getCreate_time_str() {
                return create_time_str;
            }

            public void setCreate_time_str(String create_time_str) {
                this.create_time_str = create_time_str;
            }

            public String getViews() {
                return views;
            }

            public void setViews(String views) {
                this.views = views;
            }

            public List<PicsBean> getPics() {
                return pics;
            }

            public void setPics(List<PicsBean> pics) {
                this.pics = pics;
            }

            public static class PicsBean {
                private String url;

                public String getUrl() {
                    return url;
                }

                public void setUrl(String url) {
                    this.url = url;
                }
            }
        }

        public static class PostBean {
            private String id;
            private String mini_pic_url;
            private String post_type;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getMini_pic_url() {
                return mini_pic_url;
            }

            public void setMini_pic_url(String mini_pic_url) {
                this.mini_pic_url = mini_pic_url;
            }

            public String getPost_type() {
                return post_type;
            }

            public void setPost_type(String post_type) {
                this.post_type = post_type;
            }
        }
    }
}
